import Vue from 'vue'
import Router from 'vue-router'

// 引入项目的四个模块组件
import introduce from '@/components/introduce'
import home from '@/components/home'
import employment from '@/components/employment'
import consult from '@/components/consult'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/home',
      name: 'home',
      component: home
    },
    {
      path: '/introduce',
      name: 'introduce',
      component: introduce
    },
    {
      path: '/employment',
      name: 'employment',
      component: employment
    },
    {
      path: '/consult',
      name: 'consult',
      component: consult
    }
  ]
})
